package day12;

public enum SeasonEnum {
    spring, summer, fall, winter;
}

class SeasonTest{
    public static void main(String[] args) {
        SeasonEnum season = SeasonEnum.spring;

        switch (season){
            case spring:
                System.out.println("春天");
                break;
            case summer:
                System.out.println("夏天");
                break;
            case fall:
                System.out.println("秋天");
                break;
            case winter:
                System.out.println("冬天");
                break;
            default:
                System.out.println("输入有误");
        }
    }
}